package com.healthcarex.hip.saas.message.hl7.v3.creator;


import com.healthcarex.hip.saas.message.core.AbstractMessage;
import com.healthcarex.hip.saas.message.hl7.v3.core.HL7V3Message;
import com.healthcarex.hip.saas.message.schema.MessageSchemaDefinition;

public class HL7V3MessageCreator extends XMLMessageCreator {

    @Override
    public String getMessageType() {
        return "HL7_V3_MESSAGE";
    }

    /**
     * @param message
     * @param msd     msd
     */
    @Override
    public AbstractMessage create(Object message, MessageSchemaDefinition msd) {
        return new HL7V3Message(message, msd);
    }
}